package cn.tedu.supermarket.service.impl;

import cn.tedu.supermarket.entity.AddressVO;
import cn.tedu.supermarket.mapper.AddressMapper;
import cn.tedu.supermarket.service.IAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IAddressServiceImpl implements IAddressService {

    @Autowired
    AddressMapper addressMapper;

    @Override
    public Integer addAddress(AddressVO addressVO) {
        Integer rows = addressMapper.addAddress(addressVO);
        return rows;
    }
}
